package com.zuoban.service.strategy;

import com.zuoban.anno.LoginEnum;
import com.zuoban.anno.LoginStrategy;
import com.zuoban.common.Result;
import com.zuoban.dto.UserInfoDto;
import com.zuoban.dto.UserLoginDto;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @BelongsProject: zuoban-boot
 * @BelongsPackage: com.zuoban.service.strategy
 * @Author: zxy
 * @CreateTime: 2022-10-10
 * @Description: ...
 */
@LoginStrategy(name = LoginEnum.PHONE)
@Component(value = "phone")
public class PhoneLoginImpl implements LoginStrategyService {

    @Override
    public Result doLogin(HttpServletRequest request, UserLoginDto userLoginDto) {
        return null;
    }
}
